package com.victor.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.victor.dao2.UserDao;
import com.victor.entity.YhUsers;
import com.victor.service.UserService;

@Service
public class UserServiceImpl implements UserService {

	@Autowired
	private UserDao userdao;

	@Override
	public List<YhUsers> getAllUser() {
		return userdao.getAllUser();
	}

	@Override
	public YhUsers selYhuserByPhone(String phone) {
		return userdao.selYhuserByPhone(phone);
	}

	
}
